import 'package:dingtalk/core/model/message_item_model.dart';
import 'package:dingtalk/core/model/message_popmenu_model.dart';
import 'package:dingtalk/core/model/message_setting_model.dart';
import 'package:dingtalk/core/values/values.dart';

class THMockMessage {
  static List<THMessageItemModel> messageList = [
    THMessageItemModel(
        chatId: "123",
        userId: "123",
        userName: "我（江景）",
        chatName: "我（江景）",
        message: "你撤回了一条消息",
        time: 1599123128389,
        messageType: 0,
        isSingle: 1,
        isStick: 1),
    THMessageItemModel(
        chatId: "123",
        userId: "123",
        userName: "文件小助手",
        chatName: "文件小助手",
        message: "[图片]",
        messageType: 0,
        time: 1599123128389,
        isSingle: 1,
        isStick: 1),
    THMessageItemModel(
        chatId: "123",
        userId: "123",
        userName: "《蜀道难》",
        chatName: "《蜀道难》",
        message: "噫吁嚱，危乎高哉！蜀道之难，难于上青天！蚕丛及鱼凫，开国何茫然！",
        time: 1599129128389,
        isSingle: 0,
        isStick: 0,
        isDisturbing: 1,
        isGroup: 1,
        messageType: 0,
        unReadCount: 19,
        isAtAll: 1,
        groupAvatars: '蜀,道,难'),
    THMessageItemModel(
        chatId: "123",
        userId: "123",
        userName: "《过零丁洋》",
        chatName: "《过零丁洋》",
        message: "辛苦遭逢起一经，干戈寥落四周星。山河破碎风飘絮，身世浮沉雨打萍。",
        time: 1599123128389,
        isSingle: 0,
        isStick: 0,
        isDisturbing: 1,
        isGroup: 1,
        unReadCount: 99,
        messageType: 0,
        isAtYou: 1,
        groupAvatars: '过,零,丁,洋'),
    THMessageItemModel(
        chatId: "801901010888167400",
        userId: "801901010888167400",
        messageType: 0,
        userName: "陆游",
        chatName: "陆游",
        message: "[图片]",
        time: 1599123128389,
        isSingle: 1,
        isStick: 0),
    THMessageItemModel(
        chatId: "801901011433427000",
        userId: "801901011433427000",
        userName: "王世贞",
        messageType: 0,
        chatName: "王世贞",
        message: "[图片]",
        time: 1599123428389,
        unReadCount: 6,
        isSingle: 1,
        isStick: 0),
    THMessageItemModel(
        chatId: "801901013480247300",
        userId: "801901013480247300",
        userName: "李白",
        chatName: "李白",
        message: "君不见黄河之水天上来，奔流到海不复回。君不见高堂明镜悲白发，朝如青丝暮成雪。",
        time: 1599123528389,
        messageType: 0,
        unReadCount: 3,
        isSingle: 1,
        isStick: 0),
    THMessageItemModel(
        chatId: "775113183131074560",
        userId: "775113183131074560",
        userName: "王昭君",
        chatName: "王昭君",
        message: "你吃饭了吗？",
        time: 1599123628389,
        messageType: 0,
        unReadCount: 9,
        isSingle: 1,
        isStick: 1,
        isSpecialAttention: 1),
  ];

  static List<THMessagePopMenuModel> messagePopMenuItems = [
    THMessagePopMenuModel(text: "扫一扫", iconPath: "assets/icons/icon_scan.svg"),
    THMessagePopMenuModel(
        text: "发起群聊", iconPath: "assets/icons/icon_message.svg"),
    THMessagePopMenuModel(
        text: "添加好友", iconPath: "assets/icons/icon_add_friend.svg"),
    THMessagePopMenuModel(
        text: "投屏", iconPath: "assets/icons/icon_projection_screen.svg"),
    THMessagePopMenuModel(
        text: "交换名片", iconPath: "assets/icons/icon_change_card.svg"),
    THMessagePopMenuModel(
        text: "新建文档", iconPath: "assets/icons/icon_create_document.svg"),
  ];

  static List<THMessageSettingModel> messageSettingItems = [
    THMessageSettingModel(
        iconPath: "assets/icons/icon_at.svg",
        title: "@我",
        activeColor: kColorF1A33A,
        normalColor: kColor99,
        settingType: "at",
        isOpened: 1),
    THMessageSettingModel(
        iconPath: "assets/icons/icon_star.svg",
        title: "特别关注",
        activeColor: kColorE86A3E,
        normalColor: kColor99,
        settingType: "special",
        isOpened: 1),
    THMessageSettingModel(
        iconPath: "assets/icons/icon_timer.svg",
        title: "稍后处理",
        activeColor: kColor57B987,
        normalColor: kColor99,
        settingType: "processing",
        hasUnRead: 1,
        isOpened: 1),
    THMessageSettingModel(
        iconPath: "assets/icons/icon_red_packet.svg",
        title: "红包",
        activeColor: kColorE0614C,
        normalColor: kColor99,
        settingType: "red_packet",
        hasUnRead: 1,
        isOpened: 1),
    THMessageSettingModel(
        iconPath: "assets/icons/icon_list.svg",
        title: "文件",
        activeColor: kColor3B87F6,
        normalColor: kColor99,
        settingType: "file",
        isOpened: 1),
  ];
}
